[Tex/LaTex] Logic operators in LaTeX? (XOR?)

symbols

When I google this, it seems that \XOR is how you would get an XOR symbol in LaTeX, however that is giving me the 'undefined control sequence' error. How does one get the xor symbol?

Best Answer

How about \newcommand*\xor{\oplus}?