I think I need to convert this integral in such a way that function will be not defined in 0
Can anybody give some ideas?
Your problem is not with zero but with 1: the function isn't defined at x = 1 and it is unbounded there, so the integral is improper because of 1, not zero.