Well it's either an inductive or capacitive probe.

https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_NPN_output_normally_open_inductive_or_capacitive_sensor

But I'm not sure which wire is which on your particular probe, but if it matches the colors shown on that link that might get us somewhere.