Drain the white beans and combine with 2 quarts water in a large, heavy soup pot or Dutch oven. Bring to a boil. Skim off any foam, then add half an onion, half the garlic and the bouquet garni. Reduce the heat, cover and simmer 45 minutes. Add salt to taste.
In a large soup pot heat the oil, then add the onions, leeks, and celery. Saute for about 5 minutes, then stir in the cooked beans and cook for about 15 minutes.
Stir the tomatoes into the pot and then add the potatoes. Cook for another 30 minutes.
Add the pasta and cook for 5-8 minutes.
Add the zucchini and Swiss chard and cook for another 3 minutes.
While the soup is cooking, you can make the pistou.
I use a mortar and pestle, but you can use a food processor if you like.
Pound the garlic with the salt into a paste. Add the basil a handful at a time and pound and grind until nearly smooth. Gradually stir in the olive oil a bit at a time. Stir in the cheese.
Ladle soup into bowls and top with a generous dollop of pistou.