The Exclusive-OR function is characterized by the truth table of the figure itself. We see then that the exclusive condition, in which we have level 1 of output, is when either input is at level 1. For the two inputs at level 0, or the two inputs at level 1, the output will be 0. They are used the 4011 four NAND gates to achieve this function.
