MPL Documentation

XOR

XOR yields TRUE if at least one value is TRUE:
// The statement is executed only if exacty one condition is true:

   if (A = 1) XOR (B = 2) then writeln('Bingo!');
Source: Reserved Words
See Also:
not, and, or.