xor

x xor y

xor(x, y)

Logical exclusive or, xor. Test whether one and only one value is defined with a nonzero/nonempty value.

Try it yourself:

See also:
All functions