NY beach, then southern NY? If that's the case then probably volcanic rocks. The underlying rocks for far eastern northern NJ and adjacent NY are made from old lava flows and the top one looks like an extrusive granite mix. The second, a basalt. The New Street quarries at Patterson are volcanic in nature. Lava flows. Near Staten Island some of the stuff turned metamorphic after water was introduced.