Add an boolean attribute to a text field?
You can write your own field type and widget form. A good example can be either filefield or imagefield.

Or try Field collection module.

So you can create a new type of field in field_collection UI.

Here are tutorials: https://drupal.org/node/1353926