In short
This section allows the proper officer to search a person if he has reason to believe that the person has hidden on his body goods liable to confiscation or related documents. It covers people landing from, boarding or on a vessel in Indian customs waters or a foreign-going aircraft, people getting out of or into or travelling in a vehicle coming from or going abroad, anyone else entering or leaving India, and anyone in a customs area.
(1) If the proper officer has reason to believe that any person to whom this section applies has secreted about his person, any goods liable to confiscation or any documents relating thereto, he may search that person.
(2)This section applies to the following persons, namely: -
(a) any person who has landed from or is about to board, or is on board any vessel within the Indian customs waters;
(b) any person who has landed from or is about to board, or is on board a foreign-going aircraft;
(c) any person who has got out of, or is about to get into, or is in, a vehicle, which has arrived from, or is to proceed to any place outside India;
(d) any person not included in clauses (a), (b) or (c) who has entered or is about to leave India;
(e) any person in a customs area.
Source: Customs Act, 1962 — official text published by the Central Board of Indirect Taxes and Customs (CBIC) on its Tax Information Portal (taxinformation.cbic.gov.in), including the amendments noted above.
This page is educational. It is not professional advice or a formal tax computation. Verify the position against the official source above for the period that applies to you, and consult an authorised professional before acting on it.