Toya’s husband Memphitz was arrested yesterday at an airport in Atlanta for bringing a gun on an airplane.

Law enforcement tells TMZ, Mickey “Memphitz” Wright put his backpack through the X-ray scanner at Hartsfield-Jackson International Airport — and TSA agents quickly discovered the firearm and called the cops.

According to police, Wright had a valid license to carry the weapon … insisting he had simply forgotten the gun was in his bag — but it’s still illegal to bring it on a plane.

Wright was arrested on the spot and transferred to a nearby jail. He is still in custody.

Did this guy not learn from Petey Pablo and all these other celebrities who get “caught” trying to smuggle firearms on a plane? (SMH!)