No need for the function, you can do it like
Sub blah()

Dim blahber As Variant, ron As String
Dim stuff
blahber = Array("Josh", "Josher", "Josheroni")

ron = "Josh"

For Each stuff In blahber

If ron = stuff Then
MsgBox stuff
End If

Next stuff

End Sub