Index of list Cant find the index in the List

If all the parameters of the line is matching, it will be equal.
If it’s not that easy job and the lines just nearly the same, you could Round the parameters value, by getting the start,end points or X,Y,Z coordinates out of the line and match/sort by those values.
Or you could use the new Equals Node with Tolerance Input node

(I haven’t tried it yet)