If they are still moving, it is alive. Sand dollars lose their spines very soon after they die. Another way is by observing its color, which changes due to overexposure in the sun. After a sand dollar dies, its color will change from a brownish-purple (living) to silvery-white (dead).