Cook the whole wheat pasta according to package instructions until al dente. Drain and set aside, reserving ½ cup of the pasta cooking water.
In a large skillet, heat the olive oil over medium heat. Add the minced garlic and sauté for about 1 minute until fragrant.
Stir in the white beans, lemon zest, lemon juice, and dried oregano. Cook for 2-3 minutes, allowing the flavors to combine.
Add the cooked pasta to the skillet along with the reserved pasta water. Toss everything together until well combined.
Season with salt and pepper to taste. Fold in the chopped spinach and parsley, cooking for an additional 2 minutes until the spinach is wilted.
If desired, sprinkle nutritional yeast over the pasta before serving for a cheesy flavor.