 <p>You're going to need to write a loop.</p> <pre><code>boolean success = true; for( int i = 0; i &lt; running.length; ++i ) { if( running[i] == false ) { success = false; break; } } if( success == true ) { // Do stuff } </code></pre> <p>You shouldn't worry about taking up too many lines of code. Just worry about writing code that's easy to understand.</p> <p>EDIT: The above runs the if statement if all of the items in the array are true. If you actually wanted to execute the code if any one item in the array is true, it would look more like this:</p> <pre><code>boolean success = false; for( int i = 0; i &lt; running.length; ++i ) { if( running[i] == true ) { success = true; break; } } if( success == true ) { // Do stuff } </code></pre>