Yes, you can wear a pin when going through airport security. However, if the pin has metal, sharp or pointed edges, it may set off the metal detector during the security screening. So, you might need to remove it and store it in a carry-on bag or checked luggage.