Adding a note there pertaining to XOR should be sufficient.
though, it doesn't work for boolean arrays.
Define doesn't work?
I would expect array[true, false] XOR array[true, true] to return array[false, true], but <> just returns a single true (since the arrays are !=).
Though, I guess what would make the most sense there is a map function that would apply an operator or function to every element of a set of arrays. But I don't see any way to do that without major changes to how anyarray works.
Yeah, your expectations seem off here given that:
SELECT array[true, false]::boolean[] AND array[true, true]::boolean[]