A poem speaks beyond the words with which it is crafted. A poem addresses that which is beyond the limitations of the intellect.
The boundary between poetry and prayer is by no means clear. All of these have been used in worship, but defy easy categorisation as ‘prayers.’