I don't think they should allow use of AI during tests because yeah, it'd just do all the work for them and they wouldn't learn anything, but I absolutely think there's value in being able to use it as a 24/7 instant tutor, particularly since ChatGPT can be coerced into explaining things in basically any style that you'd like.
Something I've found fun and bizarrely useful is having ChatGPT explain stuff in terms of scripts from King of the Hill. It's fun to hear Hank Hill compare ZF Set Theory to something as reliable and efficient as propane while Dale goes into tirades about how the government imposed the axiom of choice to distract away from System F.