Searching works like the equality operator, ie integers and strings are compared for equality and arrays and mappings for identity.
This means that integers and strings must have the same value to match, while arrays and mappings must be the exactly same.