Item matching from 2 different lists

Hi, I am trying to select matching items from 2 different lists based on their values, in this case their Z. I tried the equality component but I realized it doesnt work because they do not have the same indexes.
Any idea how can I do it?

You could use Member Index.

Exactly what I wanted, thanks!