Bno055 i2c address is 0x40 but why

You are right, see the Bosch datasheet Table 5-1: Pin Description.
I2C is selected by both pins connected to GNDIO. GNDIO should be connected to GND on the board.