In a large bowl, combine the rinsed cannellini beans, garbanzo beans, chopped onion, 2 tablespoons (30 ml / 1 fl oz) of the basil pesto, minced garlic, and Italian seasoning.
Stir gently to combine.
Spread half of the bean mixture in the bottom of a 4- to 5-quart slow cooker.
Top with a layer of half the polenta slices, followed by half of the shredded cheese (1 cup / 240 ml).
Repeat the layers with the remaining bean mixture and the remaining polenta slices.
Cover the slow cooker and cook on the low setting for 4 to 6 hours or on the high setting for 2 to 2 1/2 hours.
Once cooked, carefully arrange the tomato slices over the top layer.
Sprinkle with the remaining 1 cup (240 ml) of cheese.
Top with the fresh spinach and radicchio.
In a small bowl, whisk together the remaining 2 tablespoons (30 ml / 1 fl oz) of pesto and 1 tablespoon (15 ml / 0.5 fl oz) of water.
Drizzle this mixture evenly over the greens.
Let the dish stand, uncovered, for 5 minutes to allow the cheese to melt and the greens to wilt slightly before serving.
Pat the polenta slices dry with a paper towel before layering. This helps them hold their shape and prevents the casserole from becoming too watery.
Add the fresh spinach and radicchio at the very end as directed to ensure they just wilt perfectly without becoming overcooked and mushy.