In a food processor, combine the drained cannellini beans, 1/4 cup (960 ml) of the bread crumbs, onion, walnuts, basil, and garlic.
Cover and pulse until the mixture is coarsely chopped and holds together when pressed.
Shape the bean mixture into four 1/2-inch-thick patties.
Place the remaining 1/2 cup (480 ml) of bread crumbs in a shallow dish. Carefully brush both sides of each patty with olive oil, then dip the patties into the bread crumbs, turning to coat them completely.
Preheat a grill pan or large skillet over medium heat.
Add the patties and cook for 10 to 12 minutes, turning once halfway through, until golden brown and heated through.
Reduce the heat to medium-low if the patties begin to brown too quickly.
Assemble the burgers.
Spread the cut sides of the bun bottoms with ranch dressing.
Top with the cooked patties, fresh spinach, tomato slices, and the bun tops.
Don't over-process the patty mixture. Pulse just until it comes together to maintain some texture from the beans and walnuts, which prevents a mushy burger.