Use "yes / no" when API returns 1 or 0

So, I’m building a plugin for the Coinigy API and they return ‘true/false’ statement with a 1 or 0.
Will Bubble see a 1 as a ‘yes’ and a 0 as a ‘no’, i.e. can I define the returned value as of type ‘yes/no’ or should I define it as a number instead?

Thanks!