Try this:-

={OR(EXACT(A1,B1:B3))}