Recently, air pollution problems in urban areas have become serious, and unmanned aerial vehicles (UAVs) can be used to monitor air pollution because they can perform spatial movement. However, because air pollution sources are fluid, probabilistic search methods are required to identify a target through the probability of its existence. This study proposes an efficient algorithm to detect air pollution in urban areas using UAVs. An improved A-star algorithm that can efficiently perform searches based on a probabilistic search model using a UAV is designed. In particular, in the proposed improved A-star algorithm, several special weights are used to calculate the probability of target existence. For example, a heuristic weight based on the expected target, a weight based on data collected from the drone sensor, and a weight based on the prior information of obstacles presence are determined. The method and procedure for applying the proposed algorithm to the stochastic search environment of a drone are described. Finally, the superiority of the proposed improved A-star algorithm is demonstrated by comparing it with existing stochastic search algorithms through various practical simulations. The proposed method exhibited more than 45% better performance in terms of successful search rounds compared with existing methods.