That is not how any of this works. This is not even close to why its hard to make a machine like that (and very much possible to do so, in theory).
this is one of the really frustrating fallouts of the AI boom; there is no such thing as a program that can reliably determine whether a text was produced using AI and it is *physically impossible* to build one. not just hard but "perpetual motion machine"-level impossible