numpy.ma
numpy.ma.MaskedArray .__或__
numpy.ma.MaskedArray .__ xor __
MaskedArray.
__ror__
x .__ ror __(y)y | x