Then you can do it like this:
1) Wait for IRpin to go low. When it does wait for 1.6ms. If it is still low, you have received the start bit. Then wait for the pin to go high. This is for start bit detection. For command detection, wait for pin to go low. Wait 800us. If it is still low, you have received a 1, else it's a 0. Wait for the next command. This is how I made by receivers, so it's a tested method.
2) You could use the capture method and check the time the pin is high/low to detect the 1 or 0 state.
I think the first method is easier and it works effectively.