Boolean tomography