Definitions of illegal search
the act of examining a place, person, or thing carefully to try to find something, either in an illegal way, without following the correct legal procedures, or without legal authority
On appeal, the court reversed the conviction based on an illegal search.