(#18942) Add XOR operator

Adds support for the xor boolean operator.
Merge branch 'dalen-xor_operator' closes #1436

* dalen-xor_operator:
  (#18942) Add XOR operator