Nand vs. Xor
Difference Between Nand and Xor
A logical operator that consists of a logical AND followed by a logical NOT and returns a false value only if both operands are true.
A logical operator that returns a true value if one, but not both, of its operands is true. Also called exclusive OR.
The logic function exclusive OR (as opposed to inclusive OR), whose output is true only when exactly one of its inputs is true.
(rare) or (but not both)