Preheat the oven to 350 degrees F. Spray a 9x13 inch baking dish with non-stick spray and set aside.
Prepare rigatoni according to package directions. When done cooking, drain pasta and set aside.
While pasta is cooking, add the ground beef and onions to a large skillet. Cook and crumble over medium-high heat for 5 to 7 minutes or until the beef is no longer pink. Drain off any excess grease.
Add in the Italian seasoning and garlic. Sauté for 1-2 minutes until fragrant.
Add in the marinara sauce, cooked pasta and 1 cup of the mozzarella cheese to the skillet, stir to combine.
Pour pasta mixture into the prepared baking dish. Sprinkle it with remaining mozzarella cheese and Parmesan cheese.
Cover with foil and bake for 25 minutes. Uncover and bake an additional 5 minute to brown cheese. You can also broil for a few minutes to brown the cheese, just watch carefully so it doesn’t burn.
Remove from the oven and let sit for 5 minutes. Garnish with chopped basil and serve.