It doesn't matter the slightest when used as a statement (note that it does matter when part of a larger expression), as long as you are consistent. Don't mix styles within one source file or project.
Well, even better in this specific example would be return something ? 1 : 0;
. Some people even prefer return something;
, but I don't because in my eyes it makes no sense to convert a Boolean into an integer.