Select objects that intersect the mesh. / Help me

I want to select only objects that intersect the mesh or that are below the mesh z-height criterion.
help me

I’d really appreciate it if you could suggest a new algorithm logic.