Well since I dont know every member of every SWAT unit in this country like you do, I can only comment on the ones that I do know and they are every bit as professional as SF, DELTA or any other SPECOP military unit. But that wasn’t my point.
There’s a big difference between being surrounded by peers that are supported by the US Government and the majority of the American public and facing death alone, hated and despised by the government, having your honor, name and reputation destroyed by a media that will run a 24/7 news cycle about how evil you are.
Keep in mind that most SWAT members are American Citizens with families in the U.S. that are just as patriotic as the average Joe, Most SWAT team members that I have ever worked with are very Patriotic and I think that if SHTF they would know which side to be on... If not, then they WILL on the wrong side eg... the enemy's side.
Also keep in mind, that during the American Revolution, Farmers and businessmen took on one of the biggest professional armies in the world... and won!