See duplicate question IF... OR IF... in a windows batch file where following solution proposed by @Apostolos
FOR %%a in (item1 item2 ...) DO IF {condition_involving_%%a} {execute_command}
e.g.
FOR %%a in (1 2) DO IF %var%==%%a ECHO TRUE
I found to be the most straight forward and simple to use case in my batch scripts.