EXCLUSIVE OR

Computes the logical exclusive or (XOR) of the inputs. If all inputs are True or all inputs are False, this node returns False. Otherwise, it returns True.

This node performs bitwise operations on numeric inputs.

1378

Inputs/Outputs

datatype_icon

input

An input to the operation.

This input can be any data type that contains only Boolean values, numbers, or error clusters, such as an array of numbers or a cluster of Booleans. If this input is an error cluster, the node uses only the status element of the error cluster.

datatype_icon

logical XOR

The logical exclusive or (XOR) of the inputs.

Examples

input 0 input 1 logical XOR
T T F
T F T
F T T
F F F