This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)



FilledSmallSquareXor[, , ... ] is the logical XOR (exclusive OR) function.

FilledSmallSquare It gives True if an odd number of the are True, and the rest are False. It gives False if an even number of the are True, and the rest are False.

FilledSmallSquareXor[, , ... ] can be input in StandardForm and InputForm as ... . The character can be entered as AliasIndicatorxorAliasIndicator or \[Xor].

FilledSmallSquareXor gives symbolic results when necessary, applying various simplification rules to them.

FilledSmallSquare Unlike And and Nand, Or and Nor, Xor must always test all its arguments, and so is not a control structure, and does not have attribute HoldAll.

FilledSmallSquare See The Mathematica Book: Section 1.5.6.

FilledSmallSquare See also: LogicalExpand, Mod.

Further Examples