XOR

The exclusive or/exclusive disjunction (symbolized by the infix operator XOR), is a connective in logic operations that yields true only when one (but not both) of the inputs/conditions is true. Sometimes expressed as “one or the other but not both”, the XOR operation can be written as “A or B, but not, A and B”….