My iPhone home button is not working?

Last night, while I was using the YouTube app on my iPhone 4, it suddenly froze, but eventually unfroze and I just double pressed the home button to switch to another app I was using. When I tried switching back to the YouTube app by double tapping the home button again, it did not work. So I pressed it once and it didn't bring me to the home screen. Several hours later and I'm still stuck on the Kik app. I tried holding the power button so I can swipe the screen to turn off my phone, but it didn't even pop up. And I know the home button isn't broken because when I turn off my phone (not the power, just clicking it off) and press the home button, it turns back on. But oddly, it doesn't even ask for my passcode or anything, it just goes straight to the Kik app I was on.

Does anyone know what the hell is going on?

Obviously, you're not at home. Come here and I'll take you for a ride down the Yellow River in my canoe. You can hang onto my paddle so you won't fall out.

You need to bring it in somewhere so They can fix it for you.

Take it to a Verizon store

Just throw it out, and get another one.~*

Sounds like your battery is on its last legs. If it's a new phone, take it to wherever you got it and let them fix it. If it's an old one (more than a year) and out of warranty, I'd definitely get a battery replacement kit and change out the battery. You can get one on Amazon.com for just a few dollars, and it includes the tools and instructions you'll need to do the job.