output value of 1 whenever exactly one or two of the input variables have the value 1;
otherwise, the output has to be 0.
Fig: 1