Boolean SOP for 2d?

I think the boolean SOP only works for 3d shapes. Any way to get it to work for 2d?

top composite → trace sop