I am pretty sure you didn’t search for solutions before making this post, because there are already answers for this online. Click this link for the dev hub’s explanation on Arrays.
But anyways you would just go through the array and find it by its index. For example Array[1] would be the first value found in your array. I am pretty sure you would need to make a Dictionary for what it seems like you are trying to do.