Pulse the flour, sugar, and salt in a food processor. Add the cold butter and pulse until the mixture looks like coarse crumbs.
Add the egg yolk and ice water, pulsing just until the dough clumps together. Turn out, flatten into a disc, wrap, and chill for 30 minutes.
Roll the dough on a floured surface into an 11-inch circle and fit into a 9-inch tart pan with a removable bottom, pressing it up the sides. Trim the excess and chill for 20 minutes.
Preheat the oven to 375F. Line the shell with parchment, fill with pie weights, and blind bake for 15 minutes.
Remove the weights and parchment and bake 8 to 10 minutes more, until the crust is golden and dry to the touch. Cool completely on a rack.
Whisk the egg yolks, sugar, and cornstarch together in a bowl until pale.
Heat the milk in a saucepan until it just starts to steam, then slowly whisk it into the yolk mixture to temper it.
Return everything to the saucepan and cook over medium heat, whisking constantly, until it thickens enough to coat the back of a spoon and holds a line when you drag a finger through it, about 3 to 4 minutes.
Remove from heat, whisk in the butter, press plastic wrap directly onto the surface, and chill for 1 hour, until cold and set.
Whisk the pistachio cream into the cooled pastry cream until smooth, then spread into the cooled tart shell. Chill for 1 hour to firm up.
Whip the cream and powdered sugar to soft peaks, pipe or dollop around the edge of the tart, then scatter with chopped pistachios and raspberries before slicing.
Good to Know
No time to blind bake? Press a store-bought shortbread crust into the pan and skip straight to the filling.