IF With List [OB1]

Hi, if it doesn’t work with lists? is there any other way to iterate over the list for a match and continue executing the code?