Not sure if you mean the plant itself but the berries are certainly edible. Iβve eaten many myself. I believe the leaves and other parts can be poisonous but thatβs not a problem.
Edit: some online sources are claiming the edibility varies by species. Iβve eaten small quantities many times and moderate amounts (several handfuls) a few times, mostly of Sambucus mexicana, which is a different species than the one pictured which is either S. nigra or canadensis. But I believe those both are edible as well.
S nigra is toxic too. You won't die from eating a few but it's still dangerous, especially to children. It must be cooked to break down the poison. It grows all over in my yard and I have to treat it like poison ivy.