  We show that the recently introduced 0-1 test can successfully distinguish
between strange nonchaotic attractors(SNAs) and periodic/quasiperiodic/chaotic
attractors, by suitably choosing the arbitrary parameter associated with the
translation variables in terms of the golden mean number which avoids resonance
with the quasiperiodic force. We further characterize the transition from
quasiperiodic to chaotic motion via SNAs interms of the 0-1 test. We
demonstrate that the test helps to detect different dynamical transitions to
SNAs from quasiperiodic attractor or the transitions from SNAs to chaos. We
illustrate the performance of the 0-1 test in detecting transitions to SNAs in
quasiperiodically forced logistic map, cubic map, and Duffing oscillator.
