The output of an exclusive-or (XOR) gate is true if one input is true and the other is false. Otherwise, it is false. The XOR gate output is true if the inputs are different from each other.

OR Gate

Truth Table

ABO
000
011
101
11 0