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.