xorReturns true if one but not both of the inputs is true. If both inputs are true or both are false, it returns false. This is also called the logical exclusive disjunction.
For Boolean structs (vectors and matrices) like bool3 or bool2x4, the result is per component.
firstFirst Boolean value.
secondSecond Boolean value.
outputReturns true if the value of the inputs differ (one is true, the other is false).