--- title: "logical-xor()" slug: "logical-xor" updated: 2026-08-13T12:44:06Z published: 2026-08-13T12:44:06Z canonical: "docs.lobstersoftware.com/logical-xor" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # logical-xor() Boolean XOR operation. This function returns "true" if only **a** or only **b** is "true". ## Parameters | Parameter | Description | | --- | --- | | a | Boolean value | | b | Boolean value | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | | | false | | true | false | true | | false | true | true | | true | true | false | | false | false | false |