Xor is the logical "one or the other but not both" (inequality) operator which can be used in an expression.  The expression "A xor B" returns True only when (1) A is true and B is false, or (2) A is false and B is true.

 

LRM

    7.2

 

See also

image\diamond.gif  Objects, Data Types and Operators