Raw boolean operation implementation