- The XOR logical operator is a When block. It represents the Exclusive OR logical operator. This condition is in a case when the blocks array contains an odd number of conditions which are . It is if the number of ‘true’ blocks is even. In the case of all conditions in the blocks array is , the operator itself becomes . The XOR operation should contain more than two When blocks. The XOR operator could contain nested logical operators.