Hello,
You can do an IF statement that checks whether the list contains the variable. This will expect an exact match.
Assuming your list is in %List% and your variable is in %NewVar%, you can paste the following code to PAD for the comparison:
IF Contains(List, NewVar, False) THEN
#Do something here
END
If you feel like I solved your problem, please mark my answer as the solution.
Thank you.