Toast the pistachios. Place the pistachios in a dry skillet over medium-low heat. Cook for 3–5 minutes, stirring frequently, until they become fragrant and lightly toasted. Keep a close eye on them because nuts can burn quickly. Transfer to a plate and spread them out to cool completely before finely chopping and adding them to the cookie dough.
In a large bowl, cream the softened butter and sugar until smooth and creamy.
Mix in the vanilla and almond extracts.
In a separate bowl, whisk together the all-purpose flour, almond flour, and salt.
Gradually add the dry ingredients to the butter mixture, mixing just until combined.
Fold in the chopped pistachios.
Wrap the dough and chill for 30–60 minutes.
Preheat the oven to 325°F. Line a heavy, light-colored baking sheet with parchment paper.
Roll the dough to ¼-inch thickness on a lightly floured surface. Place parchment between the rolling pin and dough to prevent sticking.
Cut into shapes using large, simple cookie cutters. Press straight down and lift straight up without twisting.
Reroll the scraps and continue cutting until all the dough is used.
Place cookies on the prepared baking sheet and bake for 15–18 minutes, checking at 15 minutes. Cookies should be set and pale with just the slightest hint of golden edges.
Let cookies rest on the baking sheet for 5 minutes before transferring to a cooling rack. Cool completely.
Whisk together the powdered sugar, 3 tablespoons milk, vanilla, and melted butter. Add additional milk as needed to reach your desired glaze consistency.
Dip or spread glaze over the cooled cookies.
Sprinkle with chopped pistachios while the glaze is still tacky. Allow glaze to set completely before storing.