Numpy Array Boolean Operation In Cad