how to check if an array contains a specific value

for example, how do I check if array1[] contains "examplevalue"?

Continue to help post