Let water boil in a pot. Once water boils, add penne to pot. Then, add meatballs to air fryer basket and cook at 350 °F for 8 minutes.
Drain penne once it is cooked.
Remove meatballs from the air fryer basket. Cut the meatballs in half. Add the meatballs, penne, marinara sauce, pesto, and 1/4 cup parmesan cheese, and 1/4 cup mozzarella cheese together in the same pot used to boil the penne (or in a separate bowl). Stir until combined.
Lay down a piece of tinfoil in the air fryer basket, allowing some to come up on of the sides.
Transfer pasta mixture to the tin foil. Lay in a single layer. Top with remaining mozzarella cheese and parmesan cheese
Air fry at 320 °F for 8 min, or until pasta is baked to your liking.