numpy.ma
numpy.ma.MaskedArray.__and__
numpy.ma.MaskedArray.__or__
MaskedArray.
__rand__
x.__rand__(y) <==> y&x