They have NO status until they reach a court.
That DOES NOT mean they are legal!
Sure they do ZEETS2. Their status is Asylum seeker.
They are 100% legal, as long as they follow the rules/law.
The legal status of an asylum seeker depends on their circumstances, but generally they are protected from deportation and have the right to seek asylum