In the single-pixel imaging (SPI) process, the illumination patterns need to be projected onto the object surface to modulate and sample the object information. If the illumination pattern is defocused, it will cause blurring in the SPI results. This paper proposes a method using spatially multiplexed phase modulation to generate pseudo non-diffracting structured light pattern, such as random binary patterns, and applies it to SPI, thereby extending the axial imaging range of SPI. Experimental results show that the generated non-diffracting structured light can maintain its pattern stable and unchanged within the designed nondiffracting distance, achieving high-quality SPI imaging even at low sampling rates. This method can obtain clear images without requiring precise focusing, enable SPI for multiple objects along the axial direction simultaneously, and can also be applied to SPI for axially moving objects.