Place the pistachios in a high powered blender or food processor and pulse for 30 seconds or ground into a fine flour. Do not continue to blend or they will turn into pistachio butter! Set aside.
In a large mixing bowl combine the melted butter, brown sugar, and granulated sugar. Use a rubber spatula to mix until combined. Add in the egg, egg yolk, vanilla extract and almond extract. Mix well.
Add the ground pistachios, flour, baking soda, and salt and fold to until just combined and no streaks of flour remain. Fold in the chopped white and dark chocolate chocolate. Do not over mix.
Cover the bowl and refrigerate the cookie dough for at least a half hour, or overnight.
When you are ready to bake the cookies, preheat the oven to 350°F and line a cookie sheet with parchment paper.
Use a 2 ounce cookie scoop to scoop the cookie dough out into balls, placing them 2 inches apart on the prepared sheet (I can usually fit 6 on my cookie sheet!). Bake until the edges are just golden brown and the centers have puffed up but are still gooey in the middle, 11 to 12 minutes. Allow to cool before eating!