Question: why xor gate is called exclusive or gate?
Answer: When both inputs are equal, that is either both are 1 or both are 0, the output will be logical 0. This is the reason an XOR gate also called anti-coincidence gate or inequality detector. This gate is called as XOR or exclusive OR gate because, its output is only 1 when one of its input is exclusively 1.