The full name of the
XOR gate is
"Exclusive OR gate".
It is a digital logic gate that outputs true (or 1) only when the number of true inputs is odd. In the case of a two-input XOR gate, it outputs true (1) when the inputs are different (one is 0 and the other is 1). If the inputs are the same (both 0 or both 1), the output is false (0).