Hi Katarzyna Hanulk,
This would depend on the country you receive your state pension from, some countries tax their state pension, such as Germany, meaning it is not taxable in the UK.
You would need to check the appropriate double taxtion agreement. Where there is not double taxation agreement with the UK, the pension would be taxable in both the UK and the country it is derived from.
Please see
Tax treaties
Thank you