They are not.
Learn something you nimrod. There are many voting machines connected to the internet.
https://rumble.com/v18l7ab-congress-knows-it-all.html
https://www.nbcnews.com/politics/elections/online-vulnerable-experts-find-nearly-three-dozen-u-s-voting-n1112436