Change scene with controller

Hi
I cant figure out how to change scenes with a controller meaning through input manager could you please tell me?
Thanks

I tried this code but it told me i cant convert bool to float.
If(input.getaxis(“someaxis”)) {application.loadlevel(“level”)}
Could you fix it please?