keil STM32 and bit operation

Im from slovakia so please excuse my english

im newbie in programic mcu
i need to write if clause where i wat to do something if pin is in high level.

for example
if ((P1^1)==1{
something to do
};

but it wont work
how can i do this
please help me :)

thanx very much

More questions in this forum