Preheat the oven to 350 degrees. Line a large baking sheet with parchment paper.
In a medium bowl, combine dry pudding mix, flour, baking soda and salt. Set aside. Using a stand mixer or electric mixer on low, beat together the softened butter and both sugars until creamed. Add the almond extract and the egg, beat until fluffy, about 3 minutes.
Gradually add the dry ingredients to the mixing bowl, beating after each addition. Stir in the coconut flakes and chopped pistachios by hand.
Using a 1 1/2 inch scoop, place balls of cookie dough on the prepared baking sheet at least two inches apart. Bake for 15 minutes, until cookies are set and slightly browned around the edges. Remove from the oven and allow the cookies to cool for 10 minutes.
Remove to a wire rack. Allow cookies to cool completely.
In a small bowl, beat 1 cup powdered sugar with 2 tablespoons of milk. Stir until smooth. Dip the tops of the cooled cookies in the glaze and return to the wire rack to dry. Recipe makes 24 cookies.