Collisions positions between meshes

Hi all, my goal is: when i have two irregular mesh i want to save on array the position of all point in collisions e.g

Is possible do this ? Can you help me ?

Thank you very much!

There is one way to do it using csg by doing a intersect boolean operation