Floyd's cycle detection algorithm is thought to be used in a slightly different problem, namely a graph, where there are cycles, but not the whole graph has to be a cycle.
As example, compare these two graphs:
1 -> 2 -> 3 -> 4 -> 1 -> ...
and
1 -> 2 -> 3 -> 4 -> 2 -> ...
Both have a cycle, but the second one has only a cycle on a part of the nodes (namely 1 doesn't appear in the cycle).
You are not interested in cycles as in example 2, only "full cycles".
Additionally, as you are working with bits, your algorithm will a little different than if you would be working with integers (for example). The reason is that you can compare many bits at once with only one comparison (as long as the total number of bits is <= than one integer).
Here is a possible idea how you could solve the problem:
To check if there is a cycle of 1, shift the integer by one, and compare with itself:
000000000000
000000000000
-yyyyyyyyyyy-
=> Matches!
110110110110
>110110110110
-ynnynnynnyn-
=> Nope
So the 000000000000
has a cycle of 1, 110110110110
doesn't, so continue testing with 2:
110110110110
>>110110110110
--nynnynnynn--
=> Nope
Continue with 3:
110110110110
>>>110110110110
---yyyyyyyyy---
=> Matches!
Of course, you'll have to implement what I just described with bit arithmetics, I'll leave that up to you.