@edgarblythe,
I had to sign a loyalty oath at UC, and I could understand that given some of the research going on - though that whole thing sounds concocted, I suppose in some extreme circumstance someone could relay vital information. It wasn't relevant for us, we sent reprints of our med papers all over the globe (great way to collect stamps, from the requests). On whether I'd physically repel the enemy, gadzooks. I did go into work when Reagan closed the university - I had dialysis beakers to change for a then important experiment, my job. The campus was very still. At least our building was dead as a doornail.
On the pledge, I'm so old that I remember the pledge without the god part. I'm pretty fond of my country, with all its berserkness, and have no plans to betray it. I do give away the odd recipes, even on the internet.