Question: are termites bad for a garden?
Answer: It looks like your pest problem is a termite. The good part is that they won't harm your plants, because they feed on decaying wood, not living plant material. The bad news is that your wood banister is probably being munched on.