Is a Row of Animals Called a Hedge?

You are likely thinking of a hedge.

A hedge is a row of closely planted shrubs or small trees used to create a boundary between yards or properties. Hedges provide privacy, security, and aesthetic value to a landscape.

While large animals are not typically used for hedges, a row of large animals could theoretically serve as a boundary, but it is not a common or practical practice.