Exclusive disjunction (also called exclusive or, XOR) is a logic operation on two values. It is often represented by the symbol formula_1 (or formula_2). It will be true, if exactly one of the two values is true. Otherwise, it will be false. This also means that the result of 'XOR' will be true precisely both the values are different. Same values will result in a false.