Doesn’t that mean that you could accidentally add the layer to the mask if doens’t contain the layer already ?
My guess for strictly removing a layer from a mask would have been:
faceLayerMask &= ~(1<<10);
(Though I’m also new to bit operators so correct me if I’m wrong, I literally just discovered the ~ operator while checking whether ! would do what I wanted).