The 1-bit Xor gate, also called exclusive OR, outputs an ON (1) state, but only if ONE of the inputs is in an ON (1) state. If both inputs are ON, it outputs an OFF. If neither input is ON, it outputs an OFF. It is useful when you want to make sure that only 1 of 2 bits is ON.