Check if points in a list are contained in another list

Hi, I have a question that is quite simple but I don’t know how to do it…
I have two lists of points (ex: A and B)… I want to check if the points in list A are contained in the list B…
How can I do it?
Thanks
Test.gh (135.7 KB)


Test_re-01.gh (127.7 KB)

Thank you… I also find this way…

@HS_Kim Now I would like to calculate the distance between each point (if only the have one coordinate in common (x or y)) and if this distance is equal to a threshold value (es 1 meter) trace a line between the points…
Any suggestion??