The group of 24 persons were stopped by Sashastra Seema Bal (SSB) and local police for checking yesterday when they failed to produce valid documents about their identity, they said.
During interrogation, a police source said, the detained persons claimed that several years ago they had crossed over to Pakistan and got married and settled there.
Now they were trying to return home, said the source.
Prima facie nothing objectionable has been found against them, Superintendent of Police Lakshmi Narayan said.
All the detained people told the police that they belonged to Jammu and Kashmir and were coming from Kathmandu, sources said.
The local police is verifying their credentials.