Karar of Dhulawat village of Mewat district was killed in the incident while Shaheen of Fakarpur Khori village of Mewat district was injured in the yesterday night's encounter, Police Superintendent Manbir Singh said.
The third miscreant, identified as Irfan of Dhulawat village of Mewat district, was arrested by police whereas some other miscreants managed to escape under cover of darkness, he said.
The SP said police had got a tip off that the miscreants were planning to commit a dacoity in the area.
A police constable, Anil Kumar, was also injured when the miscreants attempted to topple the police vehicle, and was hospitalised at Bawal, said the SP.
Police have seized from the miscreants a rifle, a country -made pistol, a live cartridge, an empty capsule and a pick-up vehicle, he said.
A case of attempt to murder, obstruction and the Arms Act has been registered against the miscreants, the SP said.