That's not quite it on this one though.
First, while many laws do revolve around intent, illegally entering the country is not one of them. Intent matters not, and you are subject to deportation if you entered the country illegally.
Second, it's important to use the right terms. Words have meaning and all that.
Deferred Action on Childhood Arrival is a policy of the executive branch. Specifically, it is an exercise in prosecutorial discretion. You can apply for it, and if you get it it comes with a promise of no deportation and a work permit, but does NOT absolve you of the criminal act of crossing the border. An approved DACA deferral is good for 2 years, and must be renewed. The program was started in 2012 and in 2017 the memo authorizing it was rescinded and a "wind down" was announced. The last DACA deferral would have expired Oct 2019.
The rescinding of the program was challenged in court and ended up before SCOTUS in 2020, where it was ruled that the Administration had violated the Administrative Procedures Act when they rescinded the program, and so it was reinstated. There were some more memos that tried to add restrictions, were challenged, and were shot down in court, so that by 7 Dec 2020 DACA was effectively the same as it had been in 2012.
Right after that, on 22 Dec 2020 in a different lawsuit brought by several states in an attempt to kill the program all together a judge found that the initial implementation of DACA back in 2012 violated the APA and so the whole program was illegal. (yes there is irony there) That's the court case that Terry found mention of. In that ruling, the judge said that the program was illegal, but people in the program now, or renewing an active deferral could continue to do so, but no new folks could be granted a deferral, pending the appeal's outcome. Biden appealed that decision in 2021. That appeal has gone back and forth in the fifth circuit a couple times but is currently set to be heard by the Fifth Circuit Court of Appeals on 10 Oct. Presumably whatever happens there it will be appealed to SCOTUS.
That said, again, there is no way for someone with a current DACA deferral to legally become a citizen. Best they can get is a green card.