Hi atheran12!
If you're looking for a way to make logic gates using vanilla wire, I saved a thread from Terraria Online, though I couldn't remember the link...
It's in the attachment. The gates do take up some space though, so you'll have to design your map cleverly to use this method. That's...