If you can see metal in it, if it fizzes with vinegar poured over it, or if it can crumble in your hand I would avoid it.
We have a lot of flagstone here, most of it foams when you pour an acid on it, and turns to dust after about a month underwater.
River rocks are great for aquariums.