highlighting the edge created by overlaping meshes
Extrude the plane, it needs to be manifold.


Add a boolean modifier to it with the Function object as the object.

Group the plane object, enable Freestyle on the Group with border rendering.