Home / Definitions / Exclusive OR

Exclusive OR

Webopedia Staff
Last Updated May 24, 2021 7:42 am
A Boolean operator that returns a value of TRUE only if both its operands have different values. Contrast with the inclusive OR operator, which returns a value of TRUE if either of its operands is TRUE. Whereas an inclusive OR can be translated “this, that, or both,” an exclusive OR means “this or that, but not both.”

An exclusive OR is often called an XOR or EOR.